<%@ page language="java"  import="cn.ac.iscas.bean.thesis.Thesis,cn.ac.iscas.bean.thesis.ThesisDocument,java.net.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %> 
<% %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>
  <head>  
    <title>项目详细信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<link rel="stylesheet" href="../../css/vip.css" type="text/css">
    <script language=JavaScript src="../../js/FoshanRen.js"></script>
    <script language=JavaScript src="../../js/calendar.js"></script>
    <script type="text/javascript" src="../../js/showNewDiv.js"></script>
    <link rel="stylesheet" type="text/css" href="../../js/extjs/resources/css/ext-all.css"/>
   <script type="text/javascript" charset="utf-8" src="../../js/extjs/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/extjs/ext-all.js"></script>
</head> 
  <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  <table id="tables" width="98%" border="0" cellspacing="1" cellpadding="3" align="center">
    <tr bgcolor="6f8ac4"> 
      <td colspan="2" ><font color="#FFFFFF">学位论文详细信息：</font></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">论文题目：</div></td>
      <td width="75%"><s:property value="thesis.paperTitle"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">作者：</div></td>
      <td width="75%"><s:property value="thesis.author"/></td>
    </tr>
     <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">指导老师：</div></td>
      <td width="75%"><s:property value="thesis.tutor"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">毕业年度：</div></td>
      <td width="75%"><s:property value="thesis.graduateYear"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">论文类别：</div></td>
      <td width="75%"><s:property value="thesis.thesisType"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">关键字：</div></td>
      <td width="75%"><s:property value="thesis.keyWords"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%" valign="top"> <div align="right">摘要：</div></td>
      <td width="75%"><s:property value="thesis.thesisAbstract"/></td>
	</tr>
	
    <tr bgcolor="f5f5f5"> 
      <td width="25%"><div align="right">评审意见：</div></td>
      <td width="75%"><s:property value="thesis.reviewComments"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">备注：</div></td>
      <td width="75%"> <s:property value="thesis.note"/></td>
    </tr>
    
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">PDF文档：</div></td>
      <td width="75%"></td>
      </tr>
      <%Thesis thesis = (Thesis)request.getAttribute("thesis"); 
       for(ThesisDocument doc:thesis.getPdf())
       if(doc.getDocumentType().equals("pdf"))         
         {%>
       <tr bgcolor="f5f5f5"> 
      <td width="25%"></td>
       <td width="75%">
       <font color="#0066FF"><%=doc.getDocName()%>(<%=doc.getSize()%>KB)
       <a href="thesisDocumentDownload.action?realname=<%=doc.getUploadRealName()%>&name=<%=URLEncoder.encode(doc.getDocName())%>">下载
	</a></font></td>
       </tr>
      <%}%>
      
      <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">WORD文档：</div></td>
      <td width="75%"></td>
      </tr>
       <% for(ThesisDocument doc:thesis.getWord())  
       if(doc.getDocumentType().equals("word"))       
         {%>
       <tr bgcolor="f5f5f5"> 
      <td width="25%"></td>
      <td width="75%"><font color="#0066FF">
      <%=doc.getDocName()%>(<%=doc.getSize()%>KB)
      <a href="thesisDocumentDownload.action?realname=<%=doc.getUploadRealName()%>&name=<%=URLEncoder.encode(doc.getDocName())%>">下载
	</a></font></td>
      </tr>
      <%}%>
        
  </table>
  </body>
</html>
